<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>类型检查</title>
    <script>
        let a = 10;
        let b = 10n;

        console.log(a);
        console.log(b);

        // a + b 报错 大整数与普通整数不能相加
    </script>
</head>
<body>
    
</body>
</html>